package com.itheima.d10_api_object;
/*
    Object类 :
        toString方法
        equals方法
 */
public class Test1 {
    public static void main(String[] args) {
        User u1 = new User(1001,"张三","123456",new double[]{1,23,4});
        User u2 = new User(1001,"张三","123456",new double[]{1,23,4});
        System.out.println(u1);
        System.out.println(u1.equals(u2));


    }
}














